package chapter05.E11;

public class E11 {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();
        int sum = 0;
        for (int i = 0; i < 1000000000;i++){
            sum +=i;
        }
        long endTime = System.currentTimeMillis();
        System.out.println("程序运行的时间为:"+(endTime-startTime)+"毫秒");
    }
}
